﻿#include "OperatorsPostCurvePlot.h"

#include "GUIFrame/MainWindow.h"

#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"

#include "GUIDialog/GUIPostDialog/GUIPostCurvePlotDialog.h"

namespace ModelOper
{
    bool OperatorsPostCurvePlot::execGUI()
    {
        if (_emitter == nullptr)return false;
        GUI::GUIPostCurvePlotDialog* dialog = new GUI::GUIPostCurvePlotDialog(this, FITKAPP->getGlobalData()->getMainWindow());
        dialog->init(_emitter->objectName());
        dialog->show();
        return true;
    }

    bool OperatorsPostCurvePlot::execProfession()
    {
        return true;
    }
}
